package edums.employee.dto;

import org.springframework.web.multipart.MultipartFile;

public class ProposalDTO {
	private int proposalNo;
	private String proposalWriterId;
	private String proposalTitle;
	private String proposalWriter;
	private String proposalWriteDate;
	private int proposalViewCount;
	private String proposalContent;
	private String proposalFileName;
	private String proposalTempFileName;
	private int replyFamily;
	private int replyStep;
	private int replyLevel;
	private MultipartFile proposalUpfile;
	private String publicYN;
	
	public ProposalDTO() {
	}
	
	public ProposalDTO(String proposalWriterId, String proposalTitle,
			String proposalWriter, String proposalContent, String publicYN) {
		super();
		this.proposalWriterId = proposalWriterId;
		this.proposalTitle = proposalTitle;
		this.proposalWriter = proposalWriter;
		this.proposalContent = proposalContent;
		this.publicYN = publicYN;
	}

	
	
	public ProposalDTO(int proposalNo, String proposalWriterId, String proposalTitle,
			String proposalWriter, String proposalWriteDate,
			int proposalViewCount, String proposalContent,
			String proposalFileName, String proposalTempFileName,
			int replyFamily, int replyStep, int replyLevel,
			MultipartFile proposalUpfile, String publicYN) {
		this.proposalNo = proposalNo;
		this.proposalWriterId = proposalWriterId;
		this.proposalTitle = proposalTitle;
		this.proposalWriter = proposalWriter;
		this.proposalWriteDate = proposalWriteDate;
		this.proposalViewCount = proposalViewCount;
		this.proposalContent = proposalContent;
		this.proposalFileName = proposalFileName;
		this.proposalTempFileName = proposalTempFileName;
		this.replyFamily = replyFamily;
		this.replyStep = replyStep;
		this.replyLevel = replyLevel;
		this.proposalUpfile = proposalUpfile;
		this.publicYN = publicYN;
	}

	public int getProposalNo() {
		return proposalNo;
	}

	public void setProposalNo(int proposalNo) {
		this.proposalNo = proposalNo;
	}

	public String getProposalWriterId() {
		return proposalWriterId;
	}


	public void setProposalWriterId(String proposalWriterId) {
		this.proposalWriterId = proposalWriterId;
	}


	public String getProposalTitle() {
		return proposalTitle;
	}


	public void setProposalTitle(String proposalTitle) {
		this.proposalTitle = proposalTitle;
	}


	public String getProposalWriter() {
		return proposalWriter;
	}


	public void setProposalWriter(String proposalWriter) {
		this.proposalWriter = proposalWriter;
	}


	public String getProposalWriteDate() {
		return proposalWriteDate;
	}


	public void setProposalWriteDate(String proposalWriteDate) {
		this.proposalWriteDate = proposalWriteDate;
	}


	public int getProposalViewCount() {
		return proposalViewCount;
	}


	public void setProposalViewCount(int proposalViewCount) {
		this.proposalViewCount = proposalViewCount;
	}


	public String getProposalContent() {
		return proposalContent;
	}


	public void setProposalContent(String proposalContent) {
		this.proposalContent = proposalContent;
	}


	public String getProposalFileName() {
		return proposalFileName;
	}


	public void setProposalFileName(String proposalFileName) {
		this.proposalFileName = proposalFileName;
	}


	public String getProposalTempFileName() {
		return proposalTempFileName;
	}


	public void setProposalTempFileName(String proposalTempFileName) {
		this.proposalTempFileName = proposalTempFileName;
	}


	public int getReplyFamily() {
		return replyFamily;
	}


	public void setReplyFamily(int replyFamily) {
		this.replyFamily = replyFamily;
	}


	public int getReplyStep() {
		return replyStep;
	}


	public void setReplyStep(int replyStep) {
		this.replyStep = replyStep;
	}


	public int getReplyLevel() {
		return replyLevel;
	}


	public void setReplyLevel(int replyLevel) {
		this.replyLevel = replyLevel;
	}


	public String getPublicYN() {
		return publicYN;
	}


	public void setPublicYN(String publicYN) {
		this.publicYN = publicYN;
	}
	
	public MultipartFile getProposalUpfile() {
		return proposalUpfile;
	}


	public void setProposalUpfile(MultipartFile proposalUpfile) {
		this.proposalUpfile = proposalUpfile;
	}

	@Override
	public String toString() {
		return "ProposalDTO [proposalNo=" + proposalNo + ", proposalWriterId="
				+ proposalWriterId + ", proposalTitle=" + proposalTitle
				+ ", proposalWriter=" + proposalWriter + ", proposalWriteDate="
				+ proposalWriteDate + ", proposalViewCount="
				+ proposalViewCount + ", proposalContent=" + proposalContent
				+ ", proposalFileName=" + proposalFileName
				+ ", proposalTempFileName=" + proposalTempFileName
				+ ", replyFamily=" + replyFamily + ", replyStep=" + replyStep
				+ ", replyLevel=" + replyLevel + ", proposalUpfile="
				+ proposalUpfile + ", publicYN=" + publicYN + "]";
	}

	

	
	
}